/**
 * Copyright &copy; 2012-2016 Hansming All rights reserved.
 */
package com.hansming.bss.common.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Service层公用的Exception, 从由Spring管理事务的函数中抛出时会触发事务回滚.
 * @author Hansming
 */
public class ServiceException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3520809059914881394L;

	private Logger logger = LoggerFactory.getLogger(getClass());
	
	public ServiceException() {
		super();
	}

	public ServiceException(String message) {
		super(message);
	}

	public ServiceException(Throwable cause) {
		super(cause);
	}

	public ServiceException(String message, Throwable cause) {
		super(message, cause);
	}
}
